GetMoviesError
TheGetMoviesError
function returns the contents of the current error value and resets the current error value to 0.
pascal OSErr GetMoviesError (void);DESCRIPTION
The current error value contains the result code from the previous Movie Toolbox function. Most Movie Toolbox functions do not return an error as a function result--you must use theGetMoviesError
function to obtain the result code. Even if a function explicitly returns an error as a function result, that result is also available using theGetMoviesError
function.ERROR CODES
Any Movie Toolbox result code (see "Summary of the Movie Toolbox" at the end of this chapter)